package com.desksoft.ecommerce.service.interf.mall;

import java.util.List;

import com.desksoft.ecommerce.util.result.ServiceResult;
import com.desksoft.ecommerce.vo.mall.AdvlistQryVO;
import com.desksoft.ecommerce.vo.mall.AdvlistVO;
import com.desksoft.ecommerce.vo.mall.AdvlocationQryVO;
import com.desksoft.ecommerce.vo.mall.AdvlocationVO;
import com.desksoft.utility.pagination.Page;
import com.desksoft.utility.service.ServiceInterface;

public interface IAdvlocationService extends ServiceInterface {

	/**
	 * 获取广告位列表
	 * **/
	public ServiceResult<Page<AdvlocationVO>> getAdvlocationList(AdvlocationQryVO advlocationQryVO);
	
	/**
	 * 保存广告位
	 * */
	public ServiceResult<Boolean> saveAdvlocation(AdvlocationVO advlocationVO);
	/**
	 * 保存广告
	 * */
	public ServiceResult<Boolean> saveAdvlist(AdvlistVO advlistVO);
	
	/**
	 * 删除广告位
	 * */
	public ServiceResult<Boolean> delAdvlocation(AdvlocationVO advlocationVO);
	/**
	 * 删除选中广告
	 * */
	public ServiceResult<Boolean> delChooseAdvlocat(String ids);
	/**
	 * 删除广告
	 * */
	public ServiceResult<Boolean> delAdvlist(AdvlistVO advlistVO);
	/**
	 * 删除选中广告
	 * */
	public ServiceResult<Boolean> delChooseAdvlist(String ids,String parentId);
	
	
	/**
	 * 获取广告列表
	 * */
	public ServiceResult<Page<AdvlistVO>> getAdvList(AdvlistQryVO advlistQryVO);
	/**
	 * 获取广告列表
	 * */
	public ServiceResult<List<AdvlistVO>> getAdvLists(AdvlistVO advlistVO);
	/**
	 * 修改广告位
	 * */
	public ServiceResult<Boolean> updateAdvlocation(AdvlocationVO advlocationVO);
	
	/**
	 * 修改广告
	 * */
	public ServiceResult<Boolean> updateAdvlist(AdvlistVO advlistVO);
	
	/*
	 * 批量保存
	 **/
	public ServiceResult<Boolean> updateBathAdvlist(AdvlocationVO advlocationVO);
	/*
	 * 批量修改
	 **/
	public ServiceResult<Boolean> insertBathAdvlist(AdvlocationVO advlocationVO);
}
